package com.ghovos.usermangerpgdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;


/**
 * 用户-角色连接表
 * @author liuli
 */
@Data
@TableName("tb_user_role")
@ApiModel(description = "用户角色连接表")
public class UserRoleEntity {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private Long roleId;
}
